package com.redstars.generate.convert;

import com.redstars.generate.entity.SysTemplateVersion;
import com.redstars.generate.vo.SysTemplateVersionVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 模板版本
*
* @author zhouhx 
* @since 1.0.0 2022-10-26
*/
@Mapper
public interface SysTemplateVersionConvert {
    SysTemplateVersionConvert INSTANCE = Mappers.getMapper(SysTemplateVersionConvert.class);

    SysTemplateVersion convert(SysTemplateVersionVo vo);

    SysTemplateVersionVo convert(SysTemplateVersion entity);

    List<SysTemplateVersionVo> convertList(List<SysTemplateVersion> list);

}